package com.kee.server.manager.dao;

import java.sql.SQLException;
import java.util.Date;

import com.kee.server.dao.BaseDao;
import com.kee.server.manager.bean.ContentCheck;

public class ContentCheckImpl extends BaseDao implements IContentCheck {

	public void add(ContentCheck check) throws SQLException {
		sqlMapClientImport.insert("addContentCheck",check);
	}

	
	public static void main(String[] args) {
		ContentCheckImpl cc = new ContentCheckImpl();
		
		ContentCheck check = new ContentCheck();
		check.setContent_id(549);
		check.setCheck_date(new Date());
		check.setCheck_opinion(null);
		check.setCheck_step(2);
		check.setIs_rejected(0);
		check.setReviewer(null);
		try {
			cc.add(check);
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}
}
